package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 *
 * @author 魏荣杰
 * @date 2020/5/13 2:59 下午
 * @since permission-optimize
 * @version  permission-optimize
 */
@Setter
@Getter
@ToString
public class SaveSpecialPermissionDTO extends BaseDTO {
	private static final long serialVersionUID = -7944830342820767015L;

	@NotNull(message = "roleId不能为空")
	private Long roleId;

	@NotNull(message = "dataPermission不能为空")
	private Integer dataPermission;

}